package com.hangxiang.approval.common;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 申请表(Apply)实体类
 *
 * @author makejava
 * @since 2020-11-24 13:53:06
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "信息类")
public class ApplyInsertCommon extends Model<ApplyInsertCommon> implements Serializable {
    private static final long serialVersionUID = -46216278049453685L;


    @ApiModelProperty("$column.comment")
    @NotNull
    private Integer userId;

    /**
     * 申请人姓名
     */
    @ApiModelProperty("申请人姓名")
    @NotNull
    private String userName;
    /**
     * 申请模板名称
     */
    @NotNull
    private  String tempName;
    /**
     * 申请模板类型
     */
    @ApiModelProperty("申请模板类型")
    @NotNull
    private Integer templateType;
    /**
     * 模板id
     */
    @ApiModelProperty("模板id")
    @NotNull
    private Integer templateId;
    /**
     * 审批流id
     */
    @ApiModelProperty("审批流id")
    @NotNull
    private Integer flowId;

    /**
     * 模板文件地址
     */
    @ApiModelProperty("模板文件地址")
    @NotNull
    private String templateUrl;


    @ApiModelProperty("申请备注")
    private String remark;

}